<div class="modal fade" id="menu-add" data-keyboard="false" data-backdrop="static" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title pull-left" id="menu-add-modal-title">新增菜单/按钮</h3>
            </div>
            <div class="modal-body">
                <form id="menu-add-form" class="form-horizontal">
                            <div class="form-group">
					            <label class="col-md-2 control-label" for="menuName">菜单名称:</label>
                                <div class="col-md-5">
                                    <input type="text" name="menuName" class="form-control">
                                    <input type="hidden" name="oldMenuName"  class="form-control">
                                    <input type="hidden" name="menuId"  class="form-control">
                                </div>
                            </div>
                            <div class="form-group">
					            <label class="col-md-2 control-label" for="type">类型选择:</label>
                                <div class="col-md-5">
                                    <label class="custom-control custom-radio">
                                        <input name="type" type="radio" value="0" checked class="custom-control-input">
                                        <span class="custom-control-indicator"></span>
                                        <span class="custom-control-description">菜单</span>
                                    </label>
                                    <label class="custom-control custom-radio">
                                        <input name="type" type="radio" value="1" class="custom-control-input">
                                        <span class="custom-control-indicator"></span>
                                        <span class="custom-control-description">按钮</span>
                                    </label>
                                </div>
                            </div>
                            <div class="form-group menu-url-list-row">
					            <label class="col-md-2 control-label" for="url">菜单URL:</label>
                                <div class="col-md-5" id="menu-url-list">
                                  <input id="menu-url" type="hidden" name="url" class="form-control">
                                </div>
                            </div>
                            <div class="form-group menu-perms-list-row">
					            <label class="col-md-2 control-label" for="perms">权限描述:</label>
                                <div class="col-md-5" id="menu-perms-list">
                                  <input id="menu-perms" type="hidden" name="perms" >
                                </div>
                            </div>
                            <div class="form-group menu-icon-list-row" id="menuIcon">
					             <label class="col-md-2 control-label" for="icon">菜单图标:</label>
                                <div class="col-md-5">
                                    <input type="text" name="icon" id="iconSelect" class="form-control">
                                </div>
                            </div>                           
                            <div class="form-group">
					            <label class="col-md-2 control-label" for="menuTree">上级菜单:</label>
                                <div class="col-md-5">
                                    <div id="menuTree"></div>
                                    <input type="hidden" name="parentId">
                                </div>
                            </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary btn-save" id="menu-add-button" name="save">保存</button>
                <button type="button" class="btn btn-default btn-close">关闭</button>
                <button class="btn-hide"></button>
            </div>
        </div>
    </div>
</div>
<script data-th-src="@{/js/app/admin/system/menu/menuAdd.js}"></script>
